/*
* $Id: DatabaseManager.h 144 2010-09-11 07:44:56Z volok-aleksej@yandex.ru $
*
* Copyright 2008-2010 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _DATABASE_MANAGER_H_
#define _DATABASE_MANAGER_H_

#include "Database.h"

class CDatabaseManager : public IDatabaseManager
{
	CDatabase* m_pDatabase;
public:
	CDatabaseManager();
	~CDatabaseManager();

	virtual void Initialize();
	virtual IDatabase* OpenDatabase(const std::tstring& strNameDatabase);
	virtual void CloseDatabase(IDatabase* pDatabase);
};

#endif /*_DATABASE_MANAGER_H_*/